home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / smail-3.2.tar.gz / smail-3.2.tar / smail-3.2 / conf / os / sys5.3 < prev    next >
Text File  |  1996-02-26  |  4KB  |  120 lines

  1. #ident    "@(#)smail/conf/os:RELEASE-3_2:sys5.3,v 1.7 1996/02/26 16:45:38 woods Exp"
  2. #
  3. # sys5.3 - define the characteristics of AT&T System V release 3
  4.  
  5. # NOTE:    Generic SVR3 supports limited networking using Streams.
  6. #    However, generic SVR3 does not have TCP/IP, so the networking
  7. #    features in Smail will not work.  If your SVR3 supports
  8. #    TCP/IP networking with sockets (as many do), then create
  9. #    an os file for your release of SVR3.  This os file should
  10. #    add BSD_NETWORKING to the HAVE variable, and should add
  11. #    any needed libraries or include-file directories to
  12. #    OSLIBS and INCLUDES.  For an example, see 386ix.
  13. #
  14. #    Some versions of SVR3 networking do not store include
  15. #    files in the expected places.  Such systems may require
  16. #    source modifications.  In some circumstances, it may be
  17. #    sufficient to add #include declarations to the MISC_C_DEFINES
  18. #    variable (see 386ix+tcp).
  19.  
  20. # OSNAMES - Names defining this operating system
  21. OSNAMES=UNIX_SYS5_3:UNIX_SYS5:UNIX
  22.  
  23. # ARCH_TYPE - this is likely true....
  24. ARCH_TYPE=32bit
  25.  
  26. # LOCKING_PROTOCOL - macros for efficient file locking
  27. LOCKING_PROTOCOL="\
  28. #include <unistd.h>
  29. #define LOCK_REQUIRES_WRITE
  30. #define lock_fd(fd)        (lockf((fd), F_TLOCK, 0L) < 0? FAIL: SUCCEED)
  31. #define lock_fd_wait(fd)    (lockf((fd), F_LOCK, 0L) < 0? FAIL: SUCCEED)
  32. #define unlock_fd(fd)        ((void) lockf((fd), F_ULOCK, 0L))
  33. #define unlock_fd_wait(fd)    ((void) lockf((fd), F_ULOCK, 0L))
  34. #define USE_FCNTL_RD_LOCK
  35. #define lock_fd_rd_wait(fd)    (fcntl_rd_lock(fd))
  36. extern int fcntl_rd_lock();
  37. "
  38.  
  39. # MAILBOX_DIR - in which directory are user mailbox files
  40. MAILBOX_DIR=/usr/mail
  41.  
  42. # CONSOLE - name of the console device file
  43. CONSOLE=/dev/console
  44.  
  45. # DECLARE_STRINGS - declare string routines, using macros as needed
  46. DECLARE_STRINGS="\
  47. #include <string.h>
  48. #define bzero(b,n)    (memset((b),'\0',(n)))
  49. #define bcopy(b1,b2,n)    (memcpy((b2),(b1),(n)))
  50. #define bcmp(b1,b2,n)    (memcmp((b1),(b2),(n)))
  51. #define index    strchr
  52. #define rindex    strrchr
  53. "
  54.  
  55. # SECURE_PATH - directories containing system-supplied user programs
  56. SECURE_PATH=/bin:/usr/bin
  57.  
  58. # OSLIBS - name any object libraries containing routines we will need
  59. OSLIBS=-lPW            # use this to get regcmp/regex
  60.  
  61. # DRIVER_CONFIGURATION - configuration file describing smail drivers
  62. DRIVER_CONFIGURATION=unix-generic
  63.  
  64. # RANLIB - how do we organize an existing object archive library
  65. RANLIB=:
  66.  
  67. # CHOWN - command to use for accessing the chown program
  68. CHOWN=chown
  69.  
  70. # HAVE - what features should be used with this operating system
  71. HAVE=BSTRING:SYS5_STRLIB:UNAME:READDIR:VFPRINTF:GETOPT:DUP2
  72.  
  73. # UUCP_SYSTEM_FILE - path to UUCP file containing remote systems
  74. #
  75. # Most (all?) SVR3 systems seem to have HDB UUCP.  If yours does not,
  76. # then override UUCP_SYSTEM_FILE in the EDITME file.  Set it to
  77. # /usr/lib/uucp/L.sys.
  78. UUCP_SYSTEM_FILE=/usr/lib/uucp/Systems
  79.  
  80. # MAN1 - where smail user command man pages are to be installed
  81. # MAN5 - where smail file format man pages are to be installed
  82. # MAN8 - where smail administrator man pages should be installed
  83. # MAN1_EXT - file extension for user command man pages
  84. # MAN5_EXT - file extension for file format man pages
  85. # MAN8_EXT - file extension for adminstrator man pages
  86. #
  87. MAN1_EXT=1
  88. MAN1=/usr/man/u_man/man1
  89. MAN5_EXT=4
  90. MAN5=/usr/man/p_man/man4
  91. MAN8_EXT=1m
  92. MAN8=/usr/man/a_man/man1
  93.  
  94. # SMAIL_BIN_DIR - location for uupath, etc.
  95. SMAIL_BIN_DIR=/usr/bin
  96.  
  97. # SMAIL_NAME - to replace sendmail completely
  98. SMAIL_NAME=/usr/lib/sendmail
  99.  
  100. # OTHER_SMAIL_NAMES - to replace sendmail completely
  101. OTHER_SMAIL_NAMES=/usr/bin/mailq
  102.  
  103. # NEWALIASES - to replace sendmail completely
  104. NEWALIASES=/usr/bin/newaliases
  105.  
  106. # LIB_DIR - config files
  107. LIB_DIR=/usr/lib/smail
  108.  
  109. # UTIL_BIN_DIR - programs
  110. UTIL_BIN_DIR=/usr/lib/smail
  111.  
  112. # SPOOL_DIRS - doesn't use mqueue ala sendmail (too confusing)
  113. SPOOL_DIRS=/usr/spool/smail
  114.  
  115. # LOG_DIR - logfile and paniclog
  116. LOG_DIR=/usr/adm/smail
  117.  
  118. # TMP_DIR - secure tmp space
  119. TMP_DIR=/usr/spool/smail/tmp
  120.